


/**
 *
 * 暂时没用
 */
//TODO:暂时没用
const {PanResponder} = require('react-native');
const {Actions} = require('react-native-router-flux');
const getPanHandlers = (props?:any)=>{
    // console.log('getPanHandlers',props);
    const pan = PanResponder.create({
        onStartShouldSetPanResponder: (evt, gestureState) => {
            // console.log('onStartShouldSetPanResponder');
            return false;
        },
        onStartShouldSetPanResponderCapture: (evt, gestureState) => {
            // console.log('onStartShouldSetPanResponderCapture');
              return false;
        } ,
        onMoveShouldSetPanResponder: (evt, gestureState) => {
            // console.log('onMoveShouldSetPanResponder');
            return false;
        },
        onMoveShouldSetPanResponderCapture: (evt, gestureState) => {
            // console.log('onMoveShouldSetPanResponderCapture');
            return false;
        },
        onPanResponderTerminationRequest: (evt, gestureState) => {
            // console.log('onPanResponderTerminationRequest');

            return false;
        },
        onShouldBlockNativeResponder: (evt, gestureState) => {
            // console.log('onShouldBlockNativeResponder');
            return false;
        },




        onPanResponderGrant: (evt, gestureState) => {
            // console.log('onPanResponderGrant');

            // console.log(Actions.currentScene);

        },
        onPanResponderMove: (evt, gestureState) => {
            // 最近一次的移动距离为gestureState.move{X,Y}
            // 从成为响应者开始时的累计手势移动距离为gestureState.d{x,y}
            // console.log('onPanResponderMove');
        },

        onPanResponderRelease: (evt, gestureState) => {
            // console.log('onPanResponderRelease');
        },
        onPanResponderTerminate: (evt, gestureState) => {
            // console.log('onPanResponderTerminate');
        },
    });
    
    return pan.panHandlers;
} ;

export default  getPanHandlers;